package com.syni.mdd.sjb.common.datatreaure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity.DankCdpOrderTotal;
import com.syni.mdd.sjb.common.datatreaure.entity.bo.dataBankBusiness.CdpUtilsBo;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lcc
 * @since 2020-10-11
 */
public interface DankCdpOrderTotalService extends IService<DankCdpOrderTotal> {

    Double countWeekTotalAmount(Integer userId);

    Double countAllTotalAmount(Integer userId);

    Map<String,Double> countTimeByGroup(Integer userId, Integer startTimestamp, Integer endTimestamp, String s);

    void getYesDayData(CdpUtilsBo cdpUtilsBo,Integer userId,String target);

    void getOrderTotalTotalAmountByGroup(CdpUtilsBo cdpUtilsBo,Integer userId, String searcDate, String endDate, String day);
}
